package com.wa.annotations.autowire_primary;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Notes
 * @Author gary
 * @Date 2021/11/17 17:50
 **/
@Service
public class TestService {
    @Autowired
    private TestDao testDao;

    public void lable(){
        System.out.println(this.testDao.getLable());
    }
}